<?php
/**
 * 中间件的多语言
 * Author: lyun
 * Date: 2018/6/5
 * Created by Panxsoft.
 */

return [
    /**
     * @used-by \App\Http\Middleware\AdminAuth
     */
    'token_invalid'       => 'token 错误或已失效', // invalid token

    /**
     * @used-by \App\Http\Middleware\WechatAuth
     */
    'appid'                => 'appid必须填写',  // appid required
    'openid'               => 'openid必须填写', // openid required

    'authorizer_not_found' => '微信公众号不存在或未授权',
    'authorizer_canceled'  => '公众号已取消授权',

    'error'                => '微信用户openid :openid未关注过公众号，也未进行网页授权',
    'custom_openid'        => '用户',

    'wechat_user_not_found_from_web_openid'        => '微信用户',

    'account_disabled'     => '你的账号已被停用',
    'account_not_found'    => '找不到对应账号',
    'account_must_be_super_admin' => '账号类型必须为超管',
    'account_amount_not_enough' => '账户余额不足',

    'customer_admin' => [
        'customer_disabled' => '此客户已被帕克西停用',
        'customer_type_should_be_normal' => '所属客户类型必须是普通商家',
    ],

    'store_admin' => [
        'store_disabled' => '此店铺已被商家停用'
    ],

    'api_key' => [
        'key_or_secret_error' => 'api_key或者api_secret有误',
        'key_status_exception' => 'ApiKey未激活或者已锁定',
        'test_api_key_only_one' => '测试ApiKey只能创建一个',
        'call_within_threshold' => '测试ApiKey需隔1天才能再次调用',
        'key_scheme_invalid' => 'ApiKey资费方案未生效或者已失效',
        'not_api_key_scheme_juris' => '如需开通按时间段计费和永久授权的ApiKey请联系商务处理',
        'not_api_key_scheme' => '请选择正确的资费方案',
    ],
];
